<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">
<title>Unibase</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<link rel="stylesheet" type="text/css" href="<%=path%>/resources/js/extjs/resources/css/ext-all-neptune.css">
<link rel="stylesheet" type="text/css" href="<%=path%>/resources/css/icon.css">
<style type="text/css">
	#loading-mask {
		background-color: white;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		z-index: 20000;
	}
	
	#loading {
		height: auto;
		position: absolute;
		left: 45%;
		top: 40%;
		padding: 2px;
		z-index: 20001;
	}
	
	#loading .loading-indicator {
		background: white;
		color: #444;
		font: bold 13px Helvetica, Arial, sans-serif;
		height: auto;
		margin: 0;
		padding: 10px;
	}
	
	#loading .loading-img {
		margin-right: 8px;
		float: left;
		vertical-align: top;
		width: 32px;
		height: 32px;
	}
	
	#loading-msg {
		font-size: 12px;
		font-weight: normal;
		line-height: 32px;
	}
</style>
</head>
<body>
	<div id="loading-mask"></div>
	<div id="loading">
		<div class="loading-indicator">
			<img src="resources/imgs/loading.gif" class="loading-img" /> <span
				id="loading-msg">加载组件样式及图片...</span>
		</div>
	</div>
	<script type="text/javascript">
		document.getElementById("loading-msg").innerHTML = "加载核心组件...";
	</script>
	<script src="resources/js/extjs/ext-all.js"></script>
	<script src="resources/js/extjs/locale/ext-lang-zh_CN.js"></script>
	<script type="text/javascript">
		document.getElementById("loading-msg").innerHTML = "加载系统组件...";
	</script>
	<script src="resources/js/app.js"></script>
	<script type="text/javascript">
		document.getElementById("loading-msg").innerHTML = "初始化...";
	</script>
</body>
</html>
